package
{
	import com.config.FrameWorkStates;
	import com.core.BasicScreen;
	import com.core.GameFrameWork;
	
	import llk.LLKGame;
	import llk.config.Level;
	[SWF(width = 640,height = 480)]
	public class Main extends GameFrameWork
	{
		public function Main( )
		{
			super( );
			init( );
		}
		
		override public function init( ):void {
			game = new LLKGame;
			setApplicationBackGround(640,960,true,0,new Bg);
			titleScreen = new BasicScreen;
			titleScreen.createTitleView(title);
			instructionsScreen = new BasicScreen;
			instructionsScreen.createInstructionView(instruction);
			levelInScreen = new BasicScreen;
			levelInScreen.createLevelIn(levelIn);
			switchSystemState(FrameWorkStates.STATE_SYSTEM_TITLE);
			waitTime = 30;
			frameRate = 30;
			startTimer();
		}
		
	}
}